<?php
/**
 * Created by PhpStorm.
 * User: 10037
 * Date: 2022/6/2
 * Time: 20:15
 */

namespace app\admin\controller;


use app\admin\model\Order;
use think\facade\Request;

class Orderss
{
    public function selectOrders(){
        $page=Request::post('page');
        $mode=new Order();
        $result=$mode->selectOrders($page);
        $count=$mode->selectCount();
        return json([
            'orderList'=>$result,
            'count'=>$count
        ]);
    }
}